package com.lora.entity;

import com.acooly.core.common.domain.AbstractEntity;
import com.lora.common.ColumnParse;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.Size;

/**
 * 空调 Entity
 *
 * @author qiudot
 * Date: 2019-09-21 19:45:55
 */
@Entity
@Table(name = "air_conditioning_ups")
@Data
public class AirConditioningUps extends AbstractEntity{
    /**
     * equipmentId
     */
    @Size(max = 36)
   // private String machine;
    private String equipmentid;

    private String recordtime;
    @ColumnParse(ratio = 0.1)
    private String returnairtemperaturenumber;//回风温度测量值c

    private String returnairtemperaturepercentage;//回风温度测量值%

    private String internalfanruntime;//内风机运行时间

    private String externalfanruntime;//外风机运行时间

    private String compressorruntime;//压缩机运行时间

    private String electricheatingrruntime;//电加热运行时间

    private String humidifierruntime;//加湿器运行时间

    @ColumnParse(ratio = 0.1)
    private String powerfrequency;//电源频率
    @ColumnParse(ratio = 0.1)
    private String heatingsetting;//加热设定
    @ColumnParse(ratio = 0.1)
    private String hightemperaturealarmnumber;//高温报警值
    @ColumnParse(ratio = 0.1)
    private String lowetmperaturealarmnumber;//低温报警值

    private String highhumidityalarmnumber;//高湿报警值

    private String lowhumidityalarmnumber;//低湿报警值
    @ColumnParse(ratio = 0.1)
    private String refrigerationsettingpoint;//制冷设点
    @ColumnParse(ratio = 0.1)
    private String humiditysettingpoint;//湿度设点

    private String airconditioningrunstate;//空调运行状态

    private String refrigerationstate;//制冷状态

    private String heatingstate;//加热状态

    private String humidificationstate;//加湿状态

    private String fehumidificationstate;//除湿状态

    private String airsupplytemperaturefailure;//送风温度故障

    private String hightemperaturealarm;//高温报警

    private String lowtemperaturealarm;//低温报警

    private String highhumidityalarm;//高湿报警

    private String lowhumidityalarm;//低湿报警

    private String highvoltagealarm;//高压报警

    private String highvoltagelock;//高压锁定

    private String lowhvoltagealarm;//低压报警

    private String lowhvoltagelock;//低压锁定

    private String lightningprotectionalarm;//防雷报警

    private String exhaustalarm;//排气报警

    private String exhaustlock;//排队锁定

    private String humidifyingovercurrent;//加湿过流

    private String internalfanfault;//内风机故障

    private String flooroverflow;//地板溢水

    private String airflowloss;//气流丢失

    private String humidifierfailure;//加湿器故障

    private String heaterfailure;//加热器故障

    private String returnairtemperaturefault;//回风温度故障

    private String returnrheumatismfault;//回风湿度故障

    private String condensationpressurefault;//冷凝压力故障

    private String smokealarm;//烟感告警

    private String missingphasealarm;//缺相告警

    private String phasesequenceerror;//相序错误

    private String remoteshutdownalarm;//远程关机报警

    private String powerlossalarm;//电源丢失报警

    private String networkfailurealarm;//组网失败报警

    private String dataString;

    private boolean alarmFlag = false;
}
